﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using ESF.MUP.BasePlatform.Domain.Model;
using ESF.MUP.BasePlatform.DbRepositories;
using System.Data.Entity;

namespace ESF.MUP.BasePlatform.DbRepository.MSSQL.Model
{
    public class EnvironmentModelBuilder
    {
        public static void ConfigureDatabase(DbModelBuilder modelBuilder)
        {
            modelBuilder.Entity<ESF.MUP.BasePlatform.Domain.Model.EnvironmentApplicatif>().ToTable("EnvironmentApplicatif");
            modelBuilder.Entity<ESF.MUP.BasePlatform.Domain.Model.EnvironmentApplicatif>().HasKey(e => e.Id);

        }
    }
}
